home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Printer Drivers… / ImageWriterLQ (alt. rdip) / OldAPIResources.r < prev    next >
Encoding:
Text File  |  1995-04-10  |  40.3 KB  |  1,425 lines  |  [TEXT/MPS ]

  1. /* ------------------------------------------------------------------------------
  2. FILENAME
  3.     OldAPIResources.r
  4.  
  5. DESCRIPTION
  6.     This module contains the ImageWriter LQ resource constants and types that
  7.     are needed to support the old (i.e. QuickDraw) application printing interface.
  8.     
  9.     Note: resources specific to the old API (e.g. print and style dialog resources)
  10.     must retain the original resource ID's (e.g. -8192).  Don't set these resource
  11.     ID's to be based upon printingDriverBaseID.  Also note that all resources
  12.     should be designated to load into the system heap.
  13.         
  14. COPYRIGHT
  15.      Copyright Apple Computer, Inc. 1992-1994
  16.      All rights reserved. 
  17.  
  18.     12/20/93        dmh        Sync'd with the shipping 1.0b3 GX driver.
  19.      8/28/94        dmh        Sync'd with the shipping 1.0.1 GX driver.
  20.  
  21. -------------------------------------------------------------------------------- */
  22.  
  23. // System 7.0 Compatible
  24. #define SystemSevenOrLater        1
  25.  
  26. // Include System Resource Definitions
  27. #include "Types.r"
  28. #include "SysTypes.r"
  29. #include "BalloonTypes.r"
  30.  
  31. // Include the ImageWriter LQ driver constants that are used in the resources 
  32. #include "Resources.h"
  33.  
  34. // Include the public QuickDraw GX printing files 
  35. #include "PrintingResTypes.r"
  36.  
  37.  
  38. /*********************************************************************************
  39.  *                                    TYPES                                                               *
  40.  *********************************************************************************/
  41.  
  42. type 'PREC' (0)             // ImageWriter LQ - Old Style Print Record Definition that should be compatible with System 7.0 version of IW LQ driver
  43. {
  44.     integer = 1;                            // iPrVersion
  45.     
  46.                                                 // PrInfo
  47.     integer;                                        //    iDev
  48.     integer;                                        //    iVRes
  49.     integer;                                        //    iHRes
  50.     rect;                                            //    rPage
  51.  
  52.     rect;                                        //    rPaper
  53.  
  54.                                                 //    PrStl
  55.                                                     // ******** START DUMMY ( READ ONLY ) STORAGE *********
  56.     byte;                                            //    wDev refNum    
  57.     boolean NoZoom, Zoom4X;                    //    wDev 33% Reduction
  58.     boolean NoDftBts, DftBts;                //    wDev fDraftBits
  59.     boolean NoResSet, ResSet;                //    wDev fResSet
  60.     boolean NoScroll, Scroll;                //    wDev fScroll
  61.     boolean NoZoom, Zoom2X;                    //    wDev f2XZoom
  62.     boolean UniDir, BiDir;                    //    wDev fBiDir        
  63.     boolean Landscape, Portrait;            //    wDev fPortrait    
  64.     boolean LowRes, HighRes;                //    wDev fHiRes        
  65.                                                     // ******** END DUMMY ( READ ONLY ) STORAGE ********* */
  66.                                                 
  67.     integer;                                        //    iPageV        
  68.     integer;                                        //    iPageH        
  69.     byte;                                            //    bPort        
  70.     byte Cut, Fanfold, MechCut, Other;    //    feed        
  71.  
  72.                                                 //    PrInfoPT
  73.     integer;                                        //    iDev        
  74.     integer;                                        //    iVRes        
  75.     integer;                                        //    iHRes        
  76.     rect;                                            //    rPage        
  77.  
  78.                                                 //    PrXInfo
  79.     integer;                                        // iRowBytes    
  80.     integer;                                        //    iBandV        
  81.     integer;                                        //    iBandh        
  82.     integer;                                        //    iDevBytes    
  83.     integer;                                        //    iBands        
  84.     byte dbl=-2, norm=0;                        //    bPatScale    
  85.     byte;                                            //    bULThick    
  86.     byte;                                            //    bULOffset    
  87.     byte;                                            //    bULShadow    
  88.     byte scanTB, scanBT, scanLR, scanRL;//    scan        
  89.     fill byte;                                    //    bXInfoX        
  90.  
  91.                                                 //    PrJob        
  92.     integer;                                        //    iFstPage    
  93.     integer;                                        //    iLstPage    
  94.     integer;                                        //    iCopies        
  95.     byte draft, spool, User1, User2;        //    bJDocLoop    
  96.     byte;                                            //    fFromUsr    
  97.     longint;                                        //    pIdleProc    
  98.     longint;                                        //    pFileName    
  99.     integer;                                        //    iFileVol    
  100.     byte;                                            //    bFileVers    
  101.     byte;                                            //    bJobFlags    
  102.     
  103.                                                 //    PrintX
  104.     integer;                                        //    CSF Bin Flags 
  105.     byte;                                            //    wDev refNum    
  106.     boolean NoZoom, Zoom4X;                    //    wDev 33% Reduction    
  107.     boolean NoDftBts, DftBts;                //    wDev fDraftBits    
  108.     boolean NoResSet, ResSet;                //    wDev fResSet    
  109.     boolean NoScroll, Scroll;                //    wDev fScroll    
  110.     boolean NoZoom, Zoom2X;                    //    wDev f2XZoom    
  111.     boolean UniDir, BiDir;                    //    wDev fBiDir        
  112.     boolean Landscape, Portrait;            //    wDev fPortrait    
  113.     boolean LowRes, HighRes;                //    wDev fHiRes    
  114.  
  115.     fill word [17];                            //    Make 120 byte total    
  116. };
  117.  
  118.  
  119. /*********************************************************************************
  120.  *                                    RESOURCES                                                           *
  121.  *********************************************************************************/
  122.  
  123. /*************************** Old API Message Override Resource **************************/
  124. // This overrideType resource tells the Printing Manager which old API messages we want to override, 
  125. // as well as some new backward compatibility messages. 
  126.  
  127. resource gxOverrideType (gxDriverCompatibilityOverrideID, sysheap, purgeable)
  128. {
  129.     {
  130.         gxPrValidate,                     kOldAPISegmentID, kFirstMsgJumpTableOffset,
  131.         gxConvertPrintRecordTo,     kOldAPISegmentID, kFirstMsgJumpTableOffset + 4,
  132.         gxConvertPrintRecordFrom, kOldAPISegmentID, kFirstMsgJumpTableOffset + 8,
  133.         gxPrintRecordToJob,             kOldAPISegmentID, kFirstMsgJumpTableOffset + 12,
  134.     };
  135. };
  136.  
  137.  
  138. /*************************** Old Application Compatibility Resource **************************/
  139. // This custType resource is used by the Printing Manager.  It defines some basic options for 
  140. // use with old applications.  Note: every driver should contain one of these resources. 
  141.  
  142. resource gxCustType (gxCustID, sysheap, purgeable)
  143. {
  144.     216,                                // horizontal device resolution (dpi) 
  145.     216,                                 // vertical device resolution (dpi) 
  146.     defaultUpDriver,                // type of "upDriver" to use 
  147.     {3, 3},                            // pattern stretching factor. Set to 3 (nearest thing to 216 dpi/72 dpi) 
  148.     gxOptimizedTranslation + gxRasterTargetTranslation
  149. };
  150.  
  151. /*************************** Old Application Resolution Resource **************************/
  152.  
  153. resource 'resl' (-8192, sysheap, purgeable)
  154. {
  155.     rangeType,
  156.     gxDiscreteResolution, gxDiscreteResolution,
  157.     gxDiscreteResolution, gxDiscreteResolution,
  158.     {
  159.     72,     72;
  160.     216,     216;
  161.     }
  162. };
  163.  
  164.  
  165. /************************** PREC Resources **************************/
  166. // This PREC definition represents the default print record definition 
  167. // for the old LaserWriter SC driver. This resource is accessed by the 
  168. // Universal Dialog Handler. 
  169.  
  170. resource 'PREC' (0, sysheap, purgeable)            // PREC 0 - Default print record definition for the old LaserWriter SC driver 
  171. {
  172.     // PrInfo
  173.     0,
  174.     72,
  175.     72,
  176.     {0, 0, 744, 576},
  177.     
  178.     // rPaper
  179.     {-25, -18, 767, 594},
  180.     
  181.     //PrStl
  182.     5,
  183.     NoZoom,
  184.     NoDftBts,
  185.     NoResSet,
  186.     NoScroll,
  187.     NoZoom,
  188.     UniDir,
  189.     Portrait,
  190.     HighRes,
  191.     1320,                        //    In 1/120 inch measurements
  192.     1020,
  193.     0,
  194.     Fanfold,
  195.     
  196.     // PrInfoPT
  197.     0,
  198.     216,
  199.     216,
  200.     {0, 0, 2232, 1728},
  201.     
  202.     // PrXInfo
  203.     80,
  204.     32,
  205.     640,
  206.     3200,
  207.     24,
  208.     norm,
  209.     1,
  210.     1,
  211.     1,
  212.     scanTB,
  213.     
  214.     // PrJob
  215.     1,
  216.     9999,
  217.     1,
  218.     spool,
  219.     1,
  220.     0,
  221.     0,
  222.     0,
  223.     0,
  224.     0,
  225.     
  226.     // PrintX
  227.     5,
  228.     5,
  229.     NoZoom,
  230.     NoDftBts,
  231.     NoResSet,
  232.     NoScroll,
  233.     NoZoom,
  234.     UniDir,
  235.     Portrait,
  236.     HighRes
  237. };
  238.  
  239.  
  240. // version string for old dialogs
  241. resource 'STR ' (-8190, sysheap, purgeable) { "1.0" };
  242.  
  243. /************************** PrStlDialog Resources **************************/
  244. // These dialog related resources define the old ImageWriter LQ's Style dialog. 
  245. // These resources are manipulated by the Universal Dialog Handler 
  246.  
  247. resource 'DLOG' (gxStlDialogResID, sysHeap)            // Style Dialog DLOG 
  248. {
  249.     {30, 20, 174, 492},
  250.     dBoxProc,
  251.     invisible,
  252.     noGoAway,
  253.     0x1,
  254.     gxStlDialogResID,
  255.     "Stl",
  256.     noAutoCenter
  257. };
  258.  
  259. resource 'DITL' (gxStlDialogResID, sysheap, purgeable)            // Style Dialog DITL 
  260. {
  261.     {    /* array DITLarray: 22 elements */
  262.         /* [1] */    {8, 404, 27, 464}, Button {enabled, "OK"},
  263.         /* [2] */    {35, 404, 54, 464}, Button {enabled, "Cancel"},
  264.         
  265.         /* [3] */    {4, 4, 20, 384}, StaticText {disabled, "!0"},
  266.         /* [4] */    {19, 5, 23, 393}, UserItem {disabled},
  267.         
  268.         /* [5] */    {24, 4, 40, 60}, StaticText {disabled, "Paper:"},
  269.         /* [6] */    {24, 68, 40, 208}, RadioButton {enabled, "US Letter"},
  270.         /* [7] */    {24, 218, 40, 383}, RadioButton {enabled, "A4 Letter"},
  271.         /* [8] */    {39, 68, 55, 208}, RadioButton {enabled, "US Legal"},
  272.         /* [9] */    {39, 218, 55, 383}, RadioButton {enabled, "International Fanfold"},
  273.         /* [10] */    {54, 68, 70, 208}, RadioButton {enabled, "Computer Paper"},
  274.         /* [11] */    {54, 218, 70, 383}, RadioButton {enabled, "Envelope (#10)"},
  275.         
  276.         /* [12] */    {74, 4, 90, 88}, StaticText {disabled, "Orientation"},
  277.         /* [13] */    {93, 4, 125, 36}, UserItem {enabled},
  278.         /* [14] */    {93, 44, 125, 76}, UserItem {enabled},
  279.         
  280.         /* [15] */    {74, 106, 90, 211}, StaticText {disabled, "Special Effects:"},
  281.         /* [16] */    {106, 308, 122, 431}, RadioButton {enabled, "33 % Reduction"},
  282.         /* [17] */    {122, 308, 138, 430}, RadioButton {enabled, "66 % Reduction"},
  283.         /* [18] */    {90, 308, 106, 431}, RadioButton {enabled, "Full Size"},
  284.         /* [19] */    {106, 221, 122, 307}, StaticText {disabled, "Reductions:"},
  285.         /* [20] */    {74, 218, 90, 399}, CheckBox {enabled, "No Gaps Between Pages"},
  286.  
  287.         /* [21] */    {3, 341, 18, 365}, UserItem { enabled },            // area for version number 
  288.         /* [22] */    {0, 394, 27, 464}, UserItem { disabled }            // user item for OK button 
  289.     }
  290. };
  291.  
  292. resource 'dctl' (gxStlDialogResID, sysheap, purgeable)                // Universal Dialog Handler dctl for Style Dialog 
  293. {
  294.     22,
  295.     {
  296.         Button {2, cancel},
  297.         Frill {3, printerName},
  298.         Frill {4, line},
  299.         PaperSizes {0, 0, { 6, 7, 8, 9, 10, 11 }},
  300.         Orientation {13, 14, 0, 0},
  301.         Toggle {20, bBiggerPages},
  302.         Cluster {user0, {16, 17, 18 }},
  303.         Frill {21, version},
  304.         Frill {22, default},
  305.     }
  306. };
  307.  
  308.  
  309.  
  310. // This resource is needed for proper use of color in Style dialog
  311. resource 'dctb' (gxStlDialogResID, sysheap, purgeable)
  312. {
  313.     {    /* array ColorSpec: 0 elements */
  314.     }
  315. };
  316.  
  317.  
  318. /************************** PrJobDialog Resources **************************/
  319. // These dialog related resources define the old LaserWriter SC's Print dialog. 
  320. // These resources are manipulated by the Universal Dialog Handler 
  321.  
  322. resource 'DLOG' (gxJobDialogResID, sysheap, purgeable)             // Job Dialog DLOG 
  323. {
  324.     {28, 26, 156, 500},
  325.     dBoxProc,
  326.     invisible,
  327.     noGoAway,
  328.     0x1,
  329.     gxJobDialogResID,
  330.     "Job",
  331.     noAutoCenter
  332. };
  333.  
  334. resource 'DITL' (gxJobDialogResID, sysheap, purgeable)                //    Job Dialog DITL
  335. {
  336.     {    /* array DITLarray: 22 elements */
  337.         /* [1] */    {8, 404, 27, 464}, Button {enabled, "Print"},
  338.         /* [2] */    {35, 404, 54, 464}, Button {enabled, "Cancel"},
  339.         
  340.         /* [3] */    {4, 4, 20, 384}, StaticText {disabled, "!0"},
  341.         /* [4] */    {19, 5, 23, 393}, UserItem {disabled},
  342.         
  343.         /* [5] */    {29, 4, 45, 88}, StaticText {disabled, "Quality:"},
  344.         /* [6] */    {29, 100, 45, 188}, RadioButton {enabled, "Best"},
  345.         /* [7] */    {29, 210, 45, 298}, RadioButton {enabled, "Faster"},
  346.         /* [8] */    {29, 310, 45, 398}, RadioButton {enabled, "Draft"},
  347.         
  348.         /* [9] */    {79, 4, 95, 88}, StaticText {disabled, "Page Range:"},
  349.         /* [10] */    {79, 100, 95, 188}, RadioButton {enabled, "All"},
  350.         /* [11] */    {79, 210, 95, 270}, RadioButton {enabled, "From:"},
  351.         /* [12] */    {79, 274, 95, 306}, EditText {disabled, ""},
  352.         /* [13] */    {79, 314, 95, 342}, StaticText {enabled, "To:"},
  353.         /* [14] */    {79, 342, 95, 374}, EditText {disabled, ""},
  354.         
  355.         /* [15] */    {104, 4, 119, 88}, StaticText {disabled, "Copies:"},
  356.         /* [16] */    {104, 100, 119, 132}, EditText {disabled, "1"},
  357.         
  358.         /* [17] */    {54, 4, 70, 88}, StaticText {disabled, "Head Scan:"},
  359.         /* [18] */    {54, 100, 70, 210}, RadioButton {enabled, "Bidirectional"},
  360.         /* [19] */    {54, 210, 70, 332}, RadioButton {enabled, "Unidirectional"},
  361.         
  362.         /* [20] */    {64, 404, 84, 464}, Button {enabled, "Options"},
  363.  
  364.         /* [21] */    {3, 341, 18, 365}, UserItem { enabled },            // area for version number 
  365.         /* [22] */    {0, 394, 27, 464}, UserItem { disabled }            // user item for OK button 
  366.     }
  367. };
  368.  
  369. resource 'dctl' (gxJobDialogResID, sysheap, purgeable)                // Universal Dialog Handler dctl for Job Dialog 
  370. {
  371.     22,
  372.     {
  373.         Button {2,    cancel},
  374.         Frill {3, printerName},
  375.         Frill {4, line},
  376.         Cluster { quality, { 6, 7, 8 } },
  377.         PageRange {10, 11, 12, 14 },
  378.         Copies {16},
  379.         Cluster { headMotion, { 19, 18 } },
  380.         DialogBtn {20, kPrintOptionsDlgRsrcID, kPrintOptionsDlgRsrcID},
  381.         Frill {21, version},
  382.         Frill {22, default},
  383.     }
  384. };
  385.  
  386.  
  387. // This resource is needed for proper use of color in Job dialog
  388. resource 'dctb' (gxJobDialogResID, sysheap, purgeable)
  389. {
  390.     {    /* array ColorSpec: 0 elements */
  391.     }
  392. };
  393.  
  394. resource 'DLOG' (kPrintOptionsDlgRsrcID, sysheap, purgeable)             // Print Options Dialog DLOG 
  395. {
  396.     {28, 26, 270, 500},
  397.     dBoxProc,
  398.     invisible,
  399.     noGoAway,
  400.     0x1,
  401.     kPrintOptionsDlgRsrcID,
  402.     "Paper",
  403.     noAutoCenter
  404. };
  405.  
  406. resource 'DITL' (kPrintOptionsDlgRsrcID, sysheap, purgeable)                //    Print Options Dialog DITL
  407. {
  408.     {    /* array DITLarray: 24 elements */
  409.         /* [1] */    {4, 401, 24, 461}, Button {enabled, "OK"},
  410.         /* [2] */    {34, 401, 54, 461}, Button {enabled, "Cancel"},
  411.         
  412.         /* [3] */    {4, 8, 20, 384}, StaticText {disabled, "!0, Paper Path Options"},
  413.         /* [4] */    {19, 5, 23, 384}, UserItem {disabled},
  414.         
  415.         /* [5] */    {32, 96, 48, 192}, RadioButton {enabled, "Automatic"},
  416.         /* [6] */    {32, 216, 48, 312}, RadioButton {enabled, "Hand Feed"},
  417.         /* [7] */    {32, 8, 48, 88}, StaticText {disabled, "Paper Feed:"},
  418.         
  419.         /* [8] */    {72, 8, 88, 160}, StaticText {disabled, "Sheet Feeder Options:"},
  420.         /* [9] */    {72, 200, 88, 240}, StaticText {disabled, "Bin 1"},
  421.         /* [10] */    {72, 264, 88, 304}, StaticText {disabled, "Bin 2"},
  422.         /* [11] */    {72, 328, 88, 368}, StaticText {disabled, "Bin 3"},
  423.         /* [12] */    {96, 24, 112, 176}, StaticText {disabled, "First Sheet From:"},
  424.         /* [13] */    {115, 23, 131, 183}, StaticText {disabled, "Remaining Sheets From:"},
  425.         /* [14] */    {96, 208, 112, 240}, RadioButton {enabled, ""},
  426.         /* [15] */    {96, 272, 112, 304}, RadioButton {enabled, ""},
  427.         /* [16] */    {96, 336, 112, 368}, RadioButton {enabled, ""},
  428.         /* [17] */    {115, 208, 131, 240}, RadioButton {enabled, ""},
  429.         /* [18] */    {115, 272, 131, 304}, RadioButton {enabled, ""},
  430.         /* [19] */    {115, 336, 131, 368}, RadioButton {enabled, ""},
  431.         
  432.         /* [20] */    {163, 9, 226, 455}, StaticText {disabled, "*PLEASE NOTE: Some applications treat each page of a print job as the first page."
  433.                                                                     "  These applications cannot take full advantage of the Sheet Feeder Options.  "
  434.                                                                     "Instead, they print each page from the bin you select in the First Sheet From option."},
  435.         /* [21] */    {139, 7, 154, 457}, StaticText {disabled, "____________________________________________________________________"},
  436.         /* [22] */    {142, 7, 157, 457}, StaticText {disabled, "____________________________________________________________________"},
  437.  
  438.         /* [23] */    {3, 341, 18, 365}, UserItem { enabled },            // area for version number 
  439.         /* [24] */    {0, 395, 27, 465}, UserItem { disabled }            // user item for OK button 
  440.     }
  441. };
  442.  
  443. resource 'dctl' (kPrintOptionsDlgRsrcID, sysheap, purgeable)                // Universal Dialog Handler dctl for Print Options Dialog 
  444. {
  445.     24,
  446.     {
  447.         Button {2,    cancel},
  448.         Frill {3, printerName},
  449.         Frill {4, line},
  450.         Cluster { feed, { 5, 6 } },
  451.         Cluster { firstPage, { 14, 15, 16 } },
  452.         Cluster { restPage, { 17, 18, 19 } },
  453.         Frill {23, version},
  454.         Frill {24, default},
  455.     }
  456. };
  457.  
  458.  
  459. // This resource is needed for proper use of color in Print Options dialog
  460. resource 'dctb' (kPrintOptionsDlgRsrcID, sysheap, purgeable)
  461. {
  462.     {    /* array ColorSpec: 0 elements */
  463.     }
  464. };
  465.  
  466.  
  467. /*************************** Old API Paper Type Definitions **************************/
  468. // These paper type definitions represent the settings of the old LaserWriter SC's paper 
  469. // sizes. 
  470.  
  471. resource 'ptyp' (kOldPaperTypesID + 1, sysheap, purgeable)            // US Letter 
  472. {
  473.     "US Letter",
  474.     
  475.     // page rectangle 
  476.     0x00000000,                // 8.0 x 10.33
  477.     0x00000000,                
  478.     0x02400000,                
  479.     0x02E7C298,                
  480.  
  481.     // paper rectangle 
  482.     0xFFEE0000,                // 8.5 x 11.0
  483.     0xFFE7E14C,                
  484.     0x02520000,                
  485.     0x02FFE14C,                
  486.     
  487.     usLetterBase,
  488.     kDrvrCreatorType,
  489.  
  490.     inch,
  491.     oldStylePaperType,
  492.     isDefaultPaperType,
  493.     {}
  494. };
  495.  
  496. resource 'ptyp' (kOldPaperTypesID + 2, sysheap, purgeable)            // A4 Letter 
  497. {
  498.     "A4 Letter",
  499.     
  500.     // page rectangle 
  501.     0x00000000,                // 8.0 x 11.0 
  502.     0x00000000,                
  503.     0x02400000,                
  504.     0x03180000,                
  505.  
  506.     // paper rectangle 
  507.     0xFFF70000,                // 8.25 x 11.67
  508.     0xFFE7E14C,                
  509.     0x02490000,                
  510.     0x03301EB4,                
  511.     
  512.     a4LetterBase,
  513.     kDrvrCreatorType,
  514.  
  515.     inch,    
  516.     oldStylePaperType,
  517.     notDefaultPaperType,
  518.     {}
  519. };
  520.  
  521. resource 'ptyp' (kOldPaperTypesID + 3, sysheap, purgeable)            // US Legal 
  522. {
  523.     "US Legal",
  524.     
  525.     // page rectangle 
  526.     0x00000000,                // 8.0 x 13.33
  527.     0x00000000,                
  528.     0x02400000,                    
  529.     0x03BFC298,                
  530.  
  531.     // paper rectangle 
  532.     0xFFEE0000,                // 8.5 x 14.0
  533.     0xFFE7E14C,                
  534.     0x02520000,                
  535.     0x03D7E14C,                
  536.  
  537.     usLegalBase,
  538.     kDrvrCreatorType,
  539.  
  540.     inch,    
  541.     oldStylePaperType,
  542.     notDefaultPaperType,
  543.     {}
  544. };
  545.  
  546. resource 'ptyp' (kOldPaperTypesID + 4, sysheap, purgeable)            // International Fanfold 
  547. {
  548.     "International Fanfold",
  549.     
  550.     // page rectangle 
  551.     0x00000000,                    // 8.0 x 11.33 
  552.     0x00000000,                    
  553.     0x02400000,                    
  554.     0x032FC298,                    
  555.     
  556.     // paper rectangle 
  557.     0xFFF70000,                    // 8.25 x 12.0 
  558.     0xFFE7E14C,                    
  559.     0x02490000,                    
  560.     0x0347E14C,                    
  561.     
  562.     unknownBase,
  563.     kDrvrCreatorType,
  564.  
  565.     inch,
  566.     oldStylePaperType,
  567.     notDefaultPaperType,
  568.     {}
  569. };
  570.  
  571. resource 'ptyp' (kOldPaperTypesID + 5, sysheap, purgeable)            // Computer Paper 
  572. {
  573.     "Computer Paper",
  574.     
  575.     // page rectangle 
  576.     0x00000000,                // 13.33 x 10.33 
  577.     0x00000000,
  578.     0x03BFC298,
  579.     0x02E7C298,
  580.  
  581.     // paper rectangle 
  582.     0xFFE7E14C,                //    14.0 x 11.0
  583.     0xFFE7E14C,
  584.     0x03D7E14C,
  585.     0x02FFE14C,
  586.     
  587.     unknownBase,
  588.     kDrvrCreatorType,
  589.  
  590.     inch,    
  591.     oldStylePaperType,
  592.     notDefaultPaperType,
  593.     {}
  594. };
  595.  
  596. resource 'ptyp' (kOldPaperTypesID + 6, sysheap, purgeable)            // Envelope (#10) 
  597. {
  598.     "Envelope (#10)",
  599.     
  600.     // page rectangle 
  601.     0x00000000,                    // 9.3333 x 3.3333 
  602.     0x00000000,                    
  603.     0x029FFF58,                    
  604.     0x00EFFF58,                    
  605.     
  606.     // paper rectangle 
  607.     0xFFF9FFAC,                    // 9.5 x 4.125 
  608.     0xFFE37FAC,                    
  609.     0x02A5FFAC,                    
  610.     0x010C7FAC,                    
  611.     
  612.     unknownBase,
  613.     kDrvrCreatorType,
  614.  
  615.     inch,
  616.     oldStylePaperType,
  617.     notDefaultPaperType,
  618.     {}
  619. };
  620.  
  621.  
  622. /*************************** Help Manager Resource Definitions **************************/
  623. // These resources define the help text that will be displayed by the System 7 Help Manager
  624. // if help is enabled and on eof the print dialogs is visible.
  625.  
  626.  
  627. // The 'hwin' resource is used by the Help Manager and it links 'hdlg'
  628. // resources to the dialogs to which they apply.  In this case, we have
  629. // two 'hwin' list entries that reference the two old app. print dialogs.
  630.  
  631. resource 'hwin' (kHwinRsrcID, sysheap, purgeable)
  632. {
  633.     HelpMgrVersion,
  634.     hmDefaultOptions,
  635.     {
  636.         gxStlDialogResID,             'hdlg', 3, "Stl",        // Reference to PrStlDialog's 'hdlg' resource
  637.         gxJobDialogResID,             'hdlg', 3, "Job",        // Reference to PrJobDialog's 'hdlg' resource
  638.         kPrintOptionsDlgRsrcID,     'hdlg', 3, "Paper"    // Reference to Print Options dialog 'hdlg' resource
  639.     }
  640. };
  641.  
  642.  
  643. // The 'hfdr' resource tells the Finder that we have help information it should
  644. // display when the user moves the mouse over the ImageWriter LQ icon when help is enabled.
  645.  
  646. resource 'hfdr' (kHfdrRsrcID, sysheap, purgeable)
  647. {
  648.     HelpMgrVersion,
  649.     hmDefaultOptions,
  650.     0,                    // Default balloon definition function
  651.     0,                    // Default variation code
  652.     {
  653.         HMSTRResItem
  654.         {
  655.             kFinderHelpSTRID    // Resource ID of help string ('STR ') to display
  656.         }
  657.     }
  658. };
  659.  
  660.  
  661. // This string resource contains the help text that will be displayed in the Finder if you
  662. // move the mouse over the ImageWriter LQ icon when help is enabled.
  663.  
  664. resource 'STR ' (kFinderHelpSTRID, sysheap, purgeable)
  665. {
  666.     "ImageWriter LQ\n\n"
  667.     "To enable your Macintosh to print documents on an ImageWriter LQ connected to a serial port, place this file in your Extensions folder.";
  668. };
  669.  
  670.  
  671. // This 'hdlg' resource tells the system what help strings to display when the user moves
  672. // the mouse over the ImageWriter LQ's Style dialog with help enabled.
  673.  
  674. resource 'hdlg' (gxStlDialogResID, sysheap, purgeable) 
  675. {
  676.     HelpMgrVersion,
  677.     0,                                        // Start help with the first item in the corresponding 'DITL'
  678.     hmDefaultOptions,
  679.     0,                                        // Default balloon definition function
  680.     0,                                        // Ballon variation code - hang below and to the right
  681.     HMStringResItem                    //    This list references help strings to be used for any missing items
  682.     {
  683.         {0, 0},
  684.         {0, 0, 0, 0},
  685.         gxStlDialogResID, 1,
  686.         gxStlDialogResID, 2,
  687.         gxStlDialogResID, 3,
  688.         gxStlDialogResID, 4
  689.     },
  690.     {    /* array HDialogArray: 22 elements */
  691.         /* [1] */
  692.         HMStringResItem                //    OK button
  693.         {
  694.             {0, 0},
  695.             {0, 0, 0, 0},
  696.             gxStlDialogResID, 5,
  697.             gxStlDialogResID, 6,
  698.             gxStlDialogResID, 7,
  699.             gxStlDialogResID, 8
  700.         },
  701.         /* [2] */
  702.         HMStringResItem                //    Cancel button
  703.         {
  704.             {0, 0},
  705.             {0, 0, 0, 0},
  706.             gxStlDialogResID, 9,
  707.             gxStlDialogResID, 10,
  708.             gxStlDialogResID, 11,
  709.             gxStlDialogResID, 12
  710.         },
  711.         /* [3] */
  712.         HMSkipItem                        //    Driver name string
  713.         {
  714.         },
  715.         /* [4] */
  716.         HMSkipItem                         //    Horizontal line
  717.         {
  718.         },
  719.         /* [5] */
  720.         HMSkipItem                         //    Paper: string
  721.         {
  722.         },
  723.         /* [6] */
  724.         HMStringResItem                 //    US Letter button
  725.         {
  726.             {0, 0},
  727.             {0, 0, 0, 0},
  728.             gxStlDialogResID, 13,
  729.             gxStlDialogResID, 14,
  730.             gxStlDialogResID, 15,
  731.             gxStlDialogResID, 16
  732.         },
  733.         /* [7] */
  734.         HMStringResItem                 //    A4 Letter button
  735.         {
  736.             {0, 0},
  737.             {0, 0, 0, 0},
  738.             gxStlDialogResID, 17,
  739.             gxStlDialogResID, 18,
  740.             gxStlDialogResID, 19,
  741.             gxStlDialogResID, 20
  742.         },
  743.         /* [8] */
  744.         HMStringResItem                 // US Legal button
  745.         {
  746.             {0, 0},
  747.             {0, 0, 0, 0},
  748.             gxStlDialogResID, 21,
  749.             gxStlDialogResID, 22,
  750.             gxStlDialogResID, 23,
  751.             gxStlDialogResID, 24
  752.         },
  753.         /* [9] */
  754.         HMStringResItem                 //    International Fanfold button
  755.         {
  756.             {0, 0},
  757.             {0, 0, 0, 0},
  758.             gxStlDialogResID, 25,
  759.             gxStlDialogResID, 26,
  760.             gxStlDialogResID, 27,
  761.             gxStlDialogResID, 28
  762.         },
  763.         /* [10] */
  764.         HMStringResItem                 //    Computer Paper button
  765.         {
  766.             {0, 0},
  767.             {0, 0, 0, 0},
  768.             gxStlDialogResID, 29,
  769.             gxStlDialogResID, 30,
  770.             gxStlDialogResID, 31,
  771.             gxStlDialogResID, 32
  772.         },
  773.         /* [11] */
  774.         HMStringResItem                 //    Envelope (#10) button
  775.         {
  776.             {0, 0},
  777.             {0, 0, 0, 0},
  778.             gxStlDialogResID, 33,
  779.             gxStlDialogResID, 34,
  780.             gxStlDialogResID, 35,
  781.             gxStlDialogResID, 36
  782.         },
  783.         /* [12] */                        //    Orientation string
  784.         HMSkipItem 
  785.         {
  786.         },
  787.         /* [13] */
  788.         HMStringResItem                 //    Portrait orientation icon
  789.         {
  790.             {0, 0},
  791.             {0, 0, 0, 0},
  792.             gxStlDialogResID, 37,
  793.             gxStlDialogResID, 38,
  794.             gxStlDialogResID, 39,
  795.             gxStlDialogResID, 40
  796.         },
  797.         /* [14] */
  798.         HMStringResItem                 //    Landscape orientation icon
  799.         {
  800.             {0, 0},
  801.             {0, 0, 0, 0},
  802.             gxStlDialogResID, 41,
  803.             gxStlDialogResID, 42,
  804.             gxStlDialogResID, 43,
  805.             gxStlDialogResID, 44
  806.         },
  807.         /* [15] */
  808.         HMSkipItem                         // Special Effects: string
  809.         {
  810.         },
  811.         /* [16] */
  812.         HMStringResItem                 //    33% Reduction button
  813.         {
  814.             {0, 0},
  815.             {0, 0, 0, 0},
  816.             gxStlDialogResID, 45,
  817.             gxStlDialogResID, 46,
  818.             gxStlDialogResID, 47,
  819.             gxStlDialogResID, 48
  820.         },
  821.         /* [17] */
  822.         HMStringResItem                 //    66% Reduction button
  823.         {
  824.             {0, 0},
  825.             {0, 0, 0, 0},
  826.             gxStlDialogResID, 49,
  827.             gxStlDialogResID, 50,
  828.             gxStlDialogResID, 51,
  829.             gxStlDialogResID, 52
  830.         },
  831.         /* [18] */
  832.         HMStringResItem                 //    Full size button
  833.         {
  834.             {0, 0},
  835.             {0, 0, 0, 0},
  836.             gxStlDialogResID, 53,
  837.             gxStlDialogResID, 54,
  838.             gxStlDialogResID, 55,
  839.             gxStlDialogResID, 56
  840.         },
  841.         /* [19] */
  842.         HMSkipItem                         // Reductions: string
  843.         {
  844.         },
  845.         /* [20] */
  846.         HMStringResItem                 //    No gaps between pages checkbox
  847.         {
  848.             {0, 0},
  849.             {0, 0, 0, 0},
  850.             gxStlDialogResID, 57,
  851.             gxStlDialogResID, 58,
  852.             gxStlDialogResID, 59,
  853.             gxStlDialogResID, 60
  854.         },
  855.         /* [21] */
  856.         HMSkipItem                         // Version number
  857.         {
  858.         },
  859.         /* [22] */
  860.         HMSkipItem                         // Default ring around the OK button
  861.         {
  862.         }
  863.     }
  864. };
  865.  
  866. // This 'hdlg' resource tells the system what help strings to display when the user moves
  867. // the mouse over the ImageWriter LQ's Print dialog with help enabled.
  868.  
  869. resource 'hdlg' (gxJobDialogResID, sysheap, purgeable) 
  870. {
  871.     HelpMgrVersion,
  872.     0,                                        // Start help with the first item in the corresponding 'DITL'
  873.     hmDefaultOptions,
  874.     0,                                        // Default balloon definition function
  875.     0,                                        // Ballon variation code - hang below and to the right
  876.     HMStringResItem                    //    This list references help strings to be used for any missing items
  877.     {
  878.         {0, 0},
  879.         {0, 0, 0, 0},
  880.         gxJobDialogResID, 1,
  881.         gxJobDialogResID, 2,
  882.         gxJobDialogResID, 3,
  883.         gxJobDialogResID, 4
  884.     },
  885.     {    /* array HDialogArray: 21 elements */
  886.         /* [1] */
  887.         HMStringResItem                 //    Print button
  888.         {
  889.             {0, 0},
  890.             {0, 0, 0, 0},
  891.             gxJobDialogResID, 5,
  892.             gxJobDialogResID, 6,
  893.             gxJobDialogResID, 7,
  894.             gxJobDialogResID, 8
  895.         },
  896.         /* [2] */
  897.         HMStringResItem                 //    Cancel button
  898.         {
  899.             {0, 0},
  900.             {0, 0, 0, 0},
  901.             gxJobDialogResID, 9,
  902.             gxJobDialogResID, 10,
  903.             gxJobDialogResID, 11,
  904.             gxJobDialogResID, 12
  905.         },
  906.         /* [3] */
  907.         HMSkipItem                         //    Print driver name string
  908.         {
  909.         },
  910.         /* [4] */
  911.         HMSkipItem                         //    Horizontal line
  912.         {
  913.         },
  914.         /* [5] */
  915.         HMSkipItem                         //    Quality: string
  916.         {
  917.         },
  918.         /* [6] */
  919.         HMStringResItem                 // Best quality button
  920.         {
  921.             {0, 0},
  922.             {0, 0, 0, 0},
  923.             gxJobDialogResID, 13,
  924.             gxJobDialogResID, 14,
  925.             gxJobDialogResID, 15,
  926.             gxJobDialogResID, 16
  927.         },
  928.         /* [7] */
  929.         HMStringResItem                 //    Faster quality button
  930.         {
  931.             {0, 0},
  932.             {0, 0, 0, 0},
  933.             gxJobDialogResID, 17,
  934.             gxJobDialogResID, 18,
  935.             gxJobDialogResID, 19,
  936.             gxJobDialogResID, 20
  937.         },
  938.         /* [8] */
  939.         HMStringResItem                 //    Draft quality button
  940.         {
  941.             {0, 0},
  942.             {0, 0, 0, 0},
  943.             gxJobDialogResID, 21,
  944.             gxJobDialogResID, 22,
  945.             gxJobDialogResID, 23,
  946.             gxJobDialogResID, 24
  947.         },
  948.         /* [9] */
  949.         HMSkipItem                         //    Page Range: string
  950.         {
  951.         },
  952.         /* [10] */
  953.         HMStringResItem                 //    All button
  954.         {
  955.             {0, 0},
  956.             {0, 0, 0, 0},
  957.             gxJobDialogResID, 25,
  958.             gxJobDialogResID, 26,
  959.             gxJobDialogResID, 27,
  960.             gxJobDialogResID, 28
  961.         },
  962.         /* [11] */
  963.         HMStringResItem                 //    From: button
  964.         {
  965.             {0, 0},
  966.             {0, 0, 0, 0},
  967.             gxJobDialogResID, 29,
  968.             gxJobDialogResID, 30,
  969.             gxJobDialogResID, 31,
  970.             gxJobDialogResID, 32
  971.         },
  972.         /* [12] */
  973.         HMStringResItem                 // Edittext of from field
  974.         {
  975.             {0, 0},
  976.             {0, 0, 0, 0},
  977.             gxJobDialogResID, 33,
  978.             gxJobDialogResID, 34,
  979.             gxJobDialogResID, 35,
  980.             gxJobDialogResID, 36
  981.         },
  982.         /* [13] */
  983.         HMSkipItem                        //    To: string
  984.         {
  985.         },
  986.         /* [14] */
  987.         HMStringResItem                 //    Edittext of to field
  988.         {
  989.             {0, 0},
  990.             {0, 0, 0, 0},
  991.             gxJobDialogResID, 37,
  992.             gxJobDialogResID, 38,
  993.             gxJobDialogResID, 39,
  994.             gxJobDialogResID, 40
  995.         },
  996.         /* [15] */
  997.         HMSkipItem                         //    Copies: string
  998.         {
  999.         },
  1000.         /* [16] */
  1001.         HMStringResItem                 //    Number of copies EditText field
  1002.         {
  1003.             {0, 0},
  1004.             {0, 0, 0, 0},
  1005.             gxJobDialogResID, 41,
  1006.             gxJobDialogResID, 42,
  1007.             gxJobDialogResID, 43,
  1008.             gxJobDialogResID, 44
  1009.         },
  1010.         /* [17] */
  1011.         HMSkipItem                         //    Head Scan: string
  1012.         {
  1013.         },
  1014.         /* [18] */
  1015.         HMStringResItem                 //    Bidirectional button
  1016.         {
  1017.             {0, 0},
  1018.             {0, 0, 0, 0},
  1019.             gxJobDialogResID, 45,
  1020.             gxJobDialogResID, 46,
  1021.             gxJobDialogResID, 47,
  1022.             gxJobDialogResID, 48
  1023.         },
  1024.         /* [19] */
  1025.         HMStringResItem                 //    Unidirectional button
  1026.         {
  1027.             {0, 0},
  1028.             {0, 0, 0, 0},
  1029.             gxJobDialogResID, 49,
  1030.             gxJobDialogResID, 50,
  1031.             gxJobDialogResID, 51,
  1032.             gxJobDialogResID, 52
  1033.         },
  1034.         /* [21] */
  1035.         HMStringResItem                 //    Options button
  1036.         {
  1037.             {0, 0},
  1038.             {0, 0, 0, 0},
  1039.             gxJobDialogResID, 53,
  1040.             gxJobDialogResID, 54,
  1041.             gxJobDialogResID, 55,
  1042.             gxJobDialogResID, 56
  1043.         },
  1044.         /* [20] */
  1045.         HMSkipItem                         //    Version number
  1046.         {
  1047.         },
  1048.         /* [20] */
  1049.         HMSkipItem                         //    Default ring around OK button
  1050.         {
  1051.         }
  1052.     }
  1053. };
  1054.  
  1055. // This 'hdlg' resource tells the system what help strings to display when the user moves
  1056. // the mouse over the ImageWriter LQ's Print Options dialog with help enabled.
  1057.  
  1058. resource 'hdlg' (kPrintOptionsDlgRsrcID, sysheap, purgeable) 
  1059. {
  1060.     HelpMgrVersion,
  1061.     0,                                        // Start help with the first item in the corresponding 'DITL'
  1062.     hmDefaultOptions,
  1063.     0,                                        // Default balloon definition function
  1064.     0,                                        // Ballon variation code - hang below and to the right
  1065.     HMStringResItem                    //    This list references help strings to be used for any missing items
  1066.     {
  1067.         {0, 0},
  1068.         {0, 0, 0, 0},
  1069.         kPrintOptionsDlgRsrcID, 1,
  1070.         kPrintOptionsDlgRsrcID, 2,
  1071.         kPrintOptionsDlgRsrcID, 3,
  1072.         kPrintOptionsDlgRsrcID, 4
  1073.     },
  1074.     {    /* array HDialogArray: 23 elements */
  1075.         /* [1] */
  1076.         HMStringResItem                 //    OK button
  1077.         {
  1078.             {0, 0},
  1079.             {0, 0, 0, 0},
  1080.             kPrintOptionsDlgRsrcID, 5,
  1081.             kPrintOptionsDlgRsrcID, 6,
  1082.             kPrintOptionsDlgRsrcID, 7,
  1083.             kPrintOptionsDlgRsrcID, 8
  1084.         },
  1085.         /* [2] */
  1086.         HMStringResItem                 //    Cancel button
  1087.         {
  1088.             {0, 0},
  1089.             {0, 0, 0, 0},
  1090.             kPrintOptionsDlgRsrcID, 9,
  1091.             kPrintOptionsDlgRsrcID, 10,
  1092.             kPrintOptionsDlgRsrcID, 11,
  1093.             kPrintOptionsDlgRsrcID, 12
  1094.         },
  1095.         /* [3] */
  1096.         HMSkipItem                         //    Print driver string
  1097.         {
  1098.         },
  1099.         /* [4] */
  1100.         HMSkipItem                         //    Horizontal line
  1101.         {
  1102.         },
  1103.         /* [5] */
  1104.         HMStringResItem                 //    Automatic button
  1105.         {
  1106.             {0, 0},
  1107.             {0, 0, 0, 0},
  1108.             kPrintOptionsDlgRsrcID, 13,
  1109.             kPrintOptionsDlgRsrcID, 14,
  1110.             kPrintOptionsDlgRsrcID, 15,
  1111.             kPrintOptionsDlgRsrcID, 16
  1112.         },
  1113.         /* [6] */
  1114.         HMStringResItem                 //    Hand feed button
  1115.         {
  1116.             {0, 0},
  1117.             {0, 0, 0, 0},
  1118.             kPrintOptionsDlgRsrcID, 17,
  1119.             kPrintOptionsDlgRsrcID, 18,
  1120.             kPrintOptionsDlgRsrcID, 19,
  1121.             kPrintOptionsDlgRsrcID, 20
  1122.         },
  1123.         /* [7] */
  1124.         HMSkipItem                         //    Paper Feed: string
  1125.         {
  1126.         },
  1127.         /* [8] */
  1128.         HMSkipItem                        //    Sheet Feeder Optiosn: string 
  1129.         {
  1130.         },
  1131.         /* [9] */
  1132.         HMSkipItem                         //    Bin 1 string
  1133.         {
  1134.         },
  1135.         /* [10] */
  1136.         HMSkipItem                         //    Bin 2 string
  1137.         {
  1138.         },
  1139.         /* [11] */
  1140.         HMSkipItem                         // Bin 3 string
  1141.         {
  1142.         },
  1143.         /* [12] */
  1144.         HMSkipItem                         // First Sheet from: string
  1145.         {
  1146.         },
  1147.         /* [13] */
  1148.         HMSkipItem                         //    Remaining Sheets From: string
  1149.         {                
  1150.         },
  1151.         /* [14] */
  1152.         HMStringResItem                 //    Bin 1: first sheet from
  1153.         {
  1154.             {0, 0},
  1155.             {0, 0, 0, 0},
  1156.             kPrintOptionsDlgRsrcID, 21,
  1157.             kPrintOptionsDlgRsrcID, 22,
  1158.             kPrintOptionsDlgRsrcID, 23,
  1159.             kPrintOptionsDlgRsrcID, 24
  1160.         },
  1161.         /* [15] */
  1162.         HMStringResItem                  //    Bin 2: first sheet from
  1163.         {
  1164.             {0, 0},
  1165.             {0, 0, 0, 0},
  1166.             kPrintOptionsDlgRsrcID, 25,
  1167.             kPrintOptionsDlgRsrcID, 26,
  1168.             kPrintOptionsDlgRsrcID, 27,
  1169.             kPrintOptionsDlgRsrcID, 28
  1170.         },
  1171.         /* [16] */
  1172.         HMStringResItem                  //    Bin 3: first sheet from
  1173.         {
  1174.             {0, 0},
  1175.             {0, 0, 0, 0},
  1176.             kPrintOptionsDlgRsrcID, 29,
  1177.             kPrintOptionsDlgRsrcID, 30,
  1178.             kPrintOptionsDlgRsrcID, 31,
  1179.             kPrintOptionsDlgRsrcID, 32
  1180.         },
  1181.         /* [17] */
  1182.         HMStringResItem                  //    Bin 1: remaining sheets from
  1183.         {
  1184.             {0, 0},
  1185.             {0, 0, 0, 0},
  1186.             kPrintOptionsDlgRsrcID, 33,
  1187.             kPrintOptionsDlgRsrcID, 34,
  1188.             kPrintOptionsDlgRsrcID, 35,
  1189.             kPrintOptionsDlgRsrcID, 36
  1190.         },
  1191.         /* [18] */
  1192.         HMStringResItem                   //    Bin 2: remaining sheets from
  1193.         {
  1194.             {0, 0},
  1195.             {0, 0, 0, 0},
  1196.             kPrintOptionsDlgRsrcID, 37,
  1197.             kPrintOptionsDlgRsrcID, 38,
  1198.             kPrintOptionsDlgRsrcID, 39,
  1199.             kPrintOptionsDlgRsrcID, 40
  1200.         },
  1201.         /* [19] */
  1202.         HMStringResItem                   //    Bin 3: remaining sheets from
  1203.         {
  1204.             {0, 0},
  1205.             {0, 0, 0, 0},
  1206.             kPrintOptionsDlgRsrcID, 41,
  1207.             kPrintOptionsDlgRsrcID, 42,
  1208.             kPrintOptionsDlgRsrcID, 43,
  1209.             kPrintOptionsDlgRsrcID, 44
  1210.         },
  1211.         /* [20] */
  1212.         HMSkipItem                             //    Please note: string
  1213.         {
  1214.         },
  1215.         /* [21] */
  1216.         HMSkipItem                             //    Underline string
  1217.         {
  1218.         },
  1219.         /* [22] */
  1220.         HMSkipItem                             //    Underline string
  1221.         {
  1222.         },
  1223.         /* [23] */
  1224.         HMSkipItem                             //    Version string
  1225.         {
  1226.         },
  1227.         /* [24] */
  1228.         HMSkipItem                             //    Default outline of the OK button
  1229.         {
  1230.         }
  1231.     }
  1232. };
  1233.  
  1234.  
  1235. // This 'STR#' resource contains the help strings that are referenced in the 'hdlg' resource
  1236. // that corresponds to the PrStlDialog.
  1237.  
  1238. resource 'STR#' (gxStlDialogResID, sysheap, purgeable) 
  1239. {
  1240.     {    /* array StringArray: 60 elements */
  1241.         /* [1] */    "Missing enabled item in hdlg -8192",
  1242.         /* [2] */    "Missing disabled item in hdlg -8192",
  1243.         /* [3] */    "Missing checked item in hdlg -8192",
  1244.         /* [4] */    "Missing other item in hdlg -8192",
  1245.         /* [5] */    "To confirm the settings in this box and close the box, click this button (or press the Return or Enter key).",
  1246.         /* [6] */    "",
  1247.         /* [7] */    "",
  1248.         /* [8] */    "",
  1249.         /* [9] */    "To cancel any changes to the settings in this box and close the box, click this button.",
  1250.         /* [10] */    "",
  1251.         /* [11] */    "",
  1252.         /* [12] */    "",
  1253.         /* [13] */    "To print your document with standard U.S. letter paper (8 1/2 by 11 inches), click this button.",
  1254.         /* [14] */    "",
  1255.         /* [15] */    "When this button is selected, your document is set up for standard U.S. letter paper (8 1/2 by 11 inches).",
  1256.         /* [16] */    "",
  1257.         /* [17] */    "To print your document with A4 paper (a standard European letter size, 8 1/2 by 11 2/3 inches), click this button.",
  1258.         /* [18] */    "",
  1259.         /* [19] */    "When this button is selected, your document is set up for A4 paper (a standard European letter size, 8 1/2 by 11 2/3 inches).",
  1260.         /* [20] */    "",
  1261.         /* [21] */    "To print your document with U.S. legal paper (8 1/2 by 14 inches), click this button.",
  1262.         /* [22] */    "",
  1263.         /* [23] */    "When this button is selected, your document is set up for U.S. legal paper (8 1/2 by 14 inches).",
  1264.         /* [24] */    "",
  1265.         /* [25] */    "To print your document with international fanfold paper (8 1/4 by 12 inches), click this button.",
  1266.         /* [26] */    "",
  1267.         /* [27] */    "When this button is selected, your document is set up for international fanfold paper (8 1/4 by 12 inches).",
  1268.         /* [28] */    "",
  1269.         /* [29] */    "To print your document with standard computer paper (15 by 11 inches), click this button.",
  1270.         /* [30] */    "",
  1271.         /* [31] */    "When this button is selected, your document is set up for standard computer paper (15 by 11 inches).",
  1272.         /* [32] */    "",
  1273.         /* [33] */    "To print on number 10 (U.S. business-size) envelopes, click this button.",
  1274.         /* [34] */    "",
  1275.         /* [35] */    "When this button is selected, your document is set up for number 10 (U.S. business-size) envelopes.",
  1276.         /* [36] */    "",
  1277.         /* [37] */    "To set up your document for portrait (tall) printing, click this icon.",
  1278.         /* [38] */    "",
  1279.         /* [39] */    "When this icon is selected, your document is set up for portrait (tall) printing.",
  1280.         /* [40] */    "",
  1281.         /* [41] */    "To set up your document for landscape (wide) printing, click this icon.",
  1282.         /* [42] */    "",
  1283.         /* [43] */    "When this icon is selected, your document is set up for landscape (wide) printing.",
  1284.         /* [44] */    "",
  1285.         /* [45] */    "To print your document at two-third its actual size, click this button.",
  1286.         /* [46] */    "To print your document at two-third its actual size, click this button.  Not available because the application program you"
  1287.                         " are using always prints images at actual size.",
  1288.         /* [47] */    "When this button is selected, your document is printed at two-third its actual size.",
  1289.         /* [48] */    "",
  1290.         /* [49] */    "To print your document at one-third its actual size, click this button.",
  1291.         /* [50] */    "To print your document at one-third its actual size, click this button.  Not available because the application program you"
  1292.                         "are using always prints images at actual size.",
  1293.         /* [51] */    "When this button is selected, your document is printed at one-third its actual size.",
  1294.         /* [52] */    "",
  1295.         /* [53] */    "To print the document at its full size (with no reduction), click this button.",
  1296.         /* [54] */    "",
  1297.         /* [55] */    "When this button is selected, the document is printed at full size (with no reduction).",
  1298.         /* [56] */    "",
  1299.         /* [57] */    "To print your document without gaps between pages, click this  box.",
  1300.         /* [58] */    "",
  1301.         /* [59] */    "When this box is checked, your document is printed without gaps between pages.",
  1302.         /* [60] */    ""
  1303.     }
  1304. };
  1305.  
  1306.  
  1307. // This 'STR#' resource contains the help strings that are referenced in the 'hdlg' resource
  1308. // that corresponds to the PrJobDialog.
  1309.  
  1310. resource 'STR#' (gxJobDialogResID, sysheap, purgeable) 
  1311. {
  1312.     {    /* array StringArray: 56 elements */
  1313.         /* [1] */    "Missing enabled item in hdlg -8191",
  1314.         /* [2] */    "Missing disabled item in hdlg -8191",
  1315.         /* [3] */    "Missing checked item in hdlg -8191",
  1316.         /* [4] */    "Missing other item in hdlg -8191",
  1317.         /* [5] */    "To start printing using the settings in this dialog box, click this button (or press the Return or Enter key).",
  1318.         /* [6] */    "",
  1319.         /* [7] */    "",
  1320.         /* [8] */    "",
  1321.         /* [9] */    "To cancel the Print command without saving any changes to settings in the dialog box, click this button.",
  1322.         /* [10] */    "",
  1323.         /* [11] */    "",
  1324.         /* [12] */    "",
  1325.         /* [13] */    "To print your document with the highest resolution (216 dots per inch), click this button.  Best quality takes the longest to print.",
  1326.         /* [14] */    "",
  1327.         /* [15] */    "When this button is selected, your document is printed with the highest resolution (216 dots per inch).  Best quality takes the longest to print.",
  1328.         /* [16] */    "",
  1329.         /* [17] */    "To print your document with medium resolution (72 dots per inch), click this button.  Faster quality prints more quickly than Best, but more slowly than Draft.",
  1330.         /* [18] */    "To print your document with medium resolution (72 dots per inch), click this button.  Not available because the application program you are using always prints at the highest resolution.",
  1331.         /* [19] */    "When this button is selected, your document prints with medium resolution (72 dots per inch).  Faster quality prints more quickly than Best, but more slowly than Draft.",
  1332.         /* [20] */    "",
  1333.         /* [21] */    "To get a quick printout, click this button.  Text only is printed, using one font and font size, with plain, bold, and underline styles only.",
  1334.         /* [22] */    "",
  1335.         /* [23] */    "When this button is selected, you get a quick printout containing text only, using one font and font size, with plain, bold, and underline styles only.",
  1336.         /* [24] */    "",
  1337.         /* [25] */    "To print all the pages in the document, click this button.",
  1338.         /* [26] */    "",
  1339.         /* [27] */    "When this button is selected, all the pages in the document are printed.",
  1340.         /* [28] */    "",
  1341.         /* [29] */    "To print a range of pages, click this button and type the first and last page numbers in the boxes to the right.  To print one page, type its number in both boxes.",
  1342.         /* [30] */    "",
  1343.         /* [31] */    "When this button is selected, only the page range specified in the boxes to the right is printed.",
  1344.         /* [32] */    "",
  1345.         /* [33] */    "",
  1346.         /* [34] */    "To specify a range of pages to be printed, type the number of the first page here.",
  1347.         /* [35] */    "",
  1348.         /* [36] */    "",
  1349.         /* [37] */    "",
  1350.         /* [38] */    "To specify a range of pages to be printed, type the number of the last page here.",
  1351.         /* [39] */    "",
  1352.         /* [40] */    "",
  1353.         /* [41] */    "",
  1354.         /* [42] */    "Type the number of copies to be printed here.",
  1355.         /* [43] */    "",
  1356.         /* [44] */    "",
  1357.         /* [45] */    "To set the printer to print both left-to-right and right-to-left, click this button.  Printing is about 20% faster, but there may be slight problems with alignment.",
  1358.         /* [46] */    "",
  1359.         /* [47] */    "When this button is selected, the printer prints both left-to-right and right-to-left.  Printing is about 20% faster, but there may be slight problems with alignment.",
  1360.         /* [48] */    "",
  1361.         /* [49] */    "To set the printer to print left-to-right only, click this button.  Printing is slower than bidirectional printing, but print quality is higher.",
  1362.         /* [50] */    "",
  1363.         /* [51] */    "When this button is selected, the printer prints left-to-right only.  Printing is slower than bidirectional printing, but print quality is higher.",
  1364.         /* [52] */    "",
  1365.         /* [53] */    "To set paper feed options and sheet feeder options, click this button.",
  1366.         /* [54] */    "",
  1367.         /* [55] */    "",
  1368.         /* [56] */    ""
  1369.     }
  1370. };
  1371.  
  1372.  
  1373. // This 'STR#' resource contains the help strings that are referenced in the 'hdlg' resource
  1374. // that corresponds to the Print Options dialog.
  1375.  
  1376. resource 'STR#' (kPrintOptionsDlgRsrcID, sysheap, purgeable) 
  1377. {
  1378.     {    /* array StringArray: 44 elements */
  1379.         /* [1] */ "Missing enabled item in hdlg -8138",
  1380.         /* [2] */ "Missing disabled item in hdlg -8138",
  1381.         /* [3] */ "Missing checked item in hdlg -8138",
  1382.         /* [4] */ "Missing other item in hdlg -8138",
  1383.         /* [5] */ "To confirm the settings in this box and close the box, click this button (or press the Return or Enter key).",
  1384.         /* [6] */ "",
  1385.         /* [7] */ "",
  1386.         /* [8] */ "",
  1387.         /* [9] */ "To cancel any changes you have made to the settings in this box and close the box, click this button.",
  1388.         /* [10] */ "",
  1389.         /* [11] */ "",
  1390.         /* [12] */ "",
  1391.         /* [13] */ "To print on paper automatically fed into the printer, click this button.",
  1392.         /* [14] */ "",
  1393.         /* [15] */ "When this button is selected, the printer uses paper which is automatically fed into the printer.",
  1394.         /* [16] */ "",
  1395.         /* [17] */ "To print on paper fed into the printer by hand (one sheet at a time), click this button",
  1396.         /* [18] */ "",
  1397.         /* [19] */ "When this button is selected, the ImageWriter will pause before printing each page so that you can insert a new sheet of paper.",
  1398.         /* [20] */ "",
  1399.         /* [21] */ "To print the first page of your document on paper from bin 1, click this button.",
  1400.         /* [22] */ "",
  1401.         /* [23] */ "When this button is selected, the first page of your document is printed on paper from bin 1.",
  1402.         /* [24] */ "",
  1403.         /* [25] */ "To print the first page of your document on paper from bin 2, click this button.",
  1404.         /* [26] */ "",
  1405.         /* [27] */ "When this button is selected, the first page of your document is printed on paper from bin 2.",
  1406.         /* [28] */ "",
  1407.         /* [29] */ "To print the first page of your document on paper from bin 3, click this button.",
  1408.         /* [30] */ "",
  1409.         /* [31] */ "When this button is selected, the first page of your document is printed on paper from bin 3.",
  1410.         /* [32] */ "",
  1411.         /* [33] */ "To print every page except the first on paper from bin 1, click this button.",
  1412.         /* [34] */ "",
  1413.         /* [35] */ "When this button is selected, every page except the first is printed on paper from bin 1.",
  1414.         /* [36] */ "",
  1415.         /* [37] */ "To print every page except the first on paper from bin 2, click this button.",
  1416.         /* [38] */ "",
  1417.         /* [39] */ "When this button is selected, every page except the first is printed on paper from bin 2.",
  1418.         /* [40] */ "",
  1419.         /* [41] */ "To print every page except the first on paper from bin 3, click this button.",
  1420.         /* [42] */ "",
  1421.         /* [43] */ "When this button is selected, every page except the first is printed on paper from bin 3.",
  1422.         /* [44] */ ""
  1423.     }
  1424. };
  1425.